package com.scommunity.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.Objects;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 便民（助手）表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "sc_help")
public class Help implements Serializable{
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Long helpId;
    /**
     * 1 小区民警 2 周边商铺 3 家政服务 4 政务电话
     */
    private String helpType;

    
    public Help(Help help) {
        if (Objects.nonNull(help)) {
            this.helpId=help.helpId;
            this.helpType=help.helpType;
        }
    }
}
